<%@page import="net.tanesha.recaptcha.ReCaptchaFactory"%>
<%@page import="net.tanesha.recaptcha.ReCaptcha"%>
<%
String strs = (String) request.getAttribute("strs");
String name = (String) request.getAttribute("name");
String title = "Contact us";
String description="If you have any questions, or comments and suggestions, please use the form below to contact us. Or you can mail to contact [at] showsiteinfo";
String keyword = "contact,contact us,domain,show site info";
String[] check = (String[]) request.getAttribute("check");
String success = (String) request.getAttribute("success");
%>

<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keyword %>"/>
	<jsp:param name="menu" value="co"/>
</jsp:include>
 

<div class="bd">
		<div class="l">
			<div class="rib">
				<h1>Contact</h1>
			</div>
			<div class="cont">
				<p>If you have any questions, or comments and suggestions, please use the form below to contact us. Or you can mail to contact [at] showsiteinfo</p>
				
				<div class="network">
					<%=(success != null)?"<p style='color:blue;float: none;'>"+success+"</p>":"" %>
	
					<form action="/contact" method="post" class="send_mail">
						Your name :<br/>
						<%=(check[0] != null)?"<p style='color:red;float: none;'>"+check[0]+"</p>":"" %>
						<input  type="text" name="name"/>
						Your email :<br/>
						<%=(check[1] != null)?"<p style='color:red;float: none;'>"+check[1]+"</p>":"" %>
						<input  type="text" name="email"/>
						Message :<br/>
						<%=(check[2] != null)?"<p style='color:red;float: none;'>"+check[2]+"</p>":"" %>
						<textarea name="message"></textarea><br/>
						<%=(check[3] != null)?"<p style='color:red;float: none;'>"+check[3]+"</p>":"" %>
						<script>
				        	var RecaptchaOptions = { theme : 'clean' };
				  		</script>
						<%
							//6LdXmcISAAAAAHz6FsABghup-EayldUCiKQyDPAk //public
							//6LdXmcISAAAAANPIv5ykGg3LAlBMnUQHzy3-Kiqo //private
				          ReCaptcha c = ReCaptchaFactory.newReCaptcha("6LdYH88SAAAAAOqQDG-imnGtynHolBe7BaN2DI8u", "6LdYH88SAAAAANMNSF7sO4kXxLFwCdwU0uzZHGls", false);
				          out.print(c.createRecaptchaHtml(null, null));
				        %>
				        <br/>
						<button type="submit">Send</button>
					</form>
				</div>
			</div>
		</div>
		<div class="r">
			<%@ include file='/element/search.jsp'%>
			
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
		</div>
	</div>
 
 
 <jsp:include page="layout/footer.jsp"></jsp:include>           